<?php 
/*
Engineer: Sean Margison
Updated: 12/04/2011
Description: Displays selected organization's data.

*/
?>
<?php if($this->org):?>
	<h3>Organization Details</h3>
		<dl>
	  	  	<dt>Organization Name</dt>
				<dd><?php echo $this->org['NAME'] ?></dd>
			<dt>Mission</dt>
				<dd><?php echo $this->org['MISSION']?></dd>
			<dt>Description</dt>
				<dd><?php echo $this->org['DESCRIPTION']?></dd>
			<dt>Website</dt>
				<dd><a href="<?php echo $this->org['WEBSITE']?>" target="_blank"><?php echo $this->org['WEBSITE']?></a></dd>
			<dt>Transportation Required</dt>
				<dd><?php if($this->org['TRANSPORT']=='y'):?>
						Yes
					<?php endif;?>
					<?php if($this->org['TRANSPORT']=='n'):?>
						No
					<?php endif;?>
				</dd>
			<dt>Address</dt>
				<dd><?php echo $this->org['ADDRESS1']?></dd>
			<?php if(!($this->org['ADDRESS2']=="")):?>
			<dt>Address (cont.)</dt>
				<dd><?php echo $this->org['ADDRESS2']?></dd>
			<?php endif;?>
			<dt>State</dt>
				<dd><?php echo $this->org['STATE']?></dd>
			<dt>City</dt>
				<dd><?php echo $this->org['CITY']?></dd>
			<dt>County</dt>
				<dd><?php echo $this->org['COUNTY']?></dd>
			<dt>Zipcode</dt>
				<dd><?php echo $this->org['ZIP']?></dd>
			<dt>Phone</dt>
				<dd><?php echo $this->org['PHONE']?></dd>
			<dt>Mission</dt>
				<dd><?php echo $this->org['MISSION']?></dd>
			<?php if(!($this->org['EXTENSION']=="")):?>
			<dt>Address (cont.)</dt>
				<dd><?php echo $this->org['EXTENSION']?></dd>
			<?php endif;?>
			<?php if(!($this->org['FAX']=="")):?>
			<dt>Address (cont.)</dt>
				<dd><?php echo $this->org['FAX']?></dd>
			<?php endif;?>
			<?php if(!($this->org['OTHERPHONE']=="")):?>
			<dt>Address (cont.)</dt>
				<dd><?php echo $this->org['OTHERPHONE']?></dd>
			<?php endif;?>
			<?php if($this->noteForm):?>
			<dt>Administrator Note</dt>
				<dd><?php echo $this->noteForm ?></dd>
			<?php endif;?>
		</dl>
<?php endif; ?>
<?php if(!$this->org):?>
	<h3>The organization requested was not found or you do not have permission to see them.</h3>
<?php endif; ?>